package com.an.trip.domain.bo;

import com.an.common.core.domain.BaseEntity;
import com.an.common.core.validate.AddGroup;
import com.an.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 行程人员业务对象 trip_member
 *
 * @author Ann
 * @date 2024-12-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TripMemberBo extends BaseEntity {

    /**
     * 人员Id
     */
    @NotNull(message = "人员Id不能为空", groups = { EditGroup.class })
    private Long memberId;

    /**
     * 人员名称
     */
    @NotBlank(message = "人员名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memberName;

    /**
     * 备注
     */
    private String remark;


}
